* {
    padding: 0;
    margin: 0;
    list-style: none;
}
.header-if {
    width: 100%;
    height: 168px;
}


.footer-if {
    height: 434px;
    position: relative;
    z-index: 999;
}

.sidebar-if {
    position: fixed;
    top: 0;
    right: 0;
}
a {
    text-decoration: none;
}

.main {
    width: 1200px;
    height: 100px;
    /* height: 100%; */
    margin: 0 auto;
}
.main .subnav {
    width: 1198px;
    height: 25px;
    padding: 7px 0 6px;
    line-height: 25px;
    border: 1px solid #d2d2d2;
}

/* 主体商品导航栏最左边 */
.main .subnav .sub_1 .active1 {
    color: red;
}

.main .subnav .iconfont {
    font-size: 12px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}

.main .subnav .iconfont1 {
    font-size: 12px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -12px;
}

.main .subnav .sub_1 {
    float: left;

}

#shang {
    transform: rotateY(180deg);
}

.main .subnav .sub_1 li {
    float: left;
    padding: 0 20px;
    border-right: 1px solid #d2d2d2;
    color: #222;
    font-size: 12px;
}

.main .subnav .sub_1 li:hover {
    color: red;
    cursor: pointer;
}


/* 主体导航栏右边 */
.main .sub_3 {
    font-size: 12px;
    color: #333;
    float: left;
}

.main .sub_3 input {
    display: none;
    /* margin-left: 20px; */
}

.main .sub_3 input+label {
    margin-left: 20px;
    cursor: pointer;
    padding-left: 18px;
    background: url(https://x.dscmall.cn/themes/ecmoban_dsc2017/images/check/checkbox_12x12.png) 0 2px no-repeat;
}

.main .sub_3 input:checked+label {
    background: url(https://x.dscmall.cn/themes/ecmoban_dsc2017/images/check/checked_12x12.png) 0 2px no-repeat;
    color: #f42424;
}

/* 主体导航栏最右边的大图小图 */
.main .sub_4 {
    width: 228px;
    height: 27px;
    float: right;
}

.main .sub_4 .sub_4_l {
    width: 90px;
    color: #8c8c8c;
    font-size: 12px;
    float: right;

}

.main .subnav .pageState {
    float: left;

}

.main .sub_4 .sub_4_l a {
    display: block;
    width: 18px;
    height: 14px;
    border: 1px solid #d2d2d2;
    float: left;
    margin: 5px 0 0 5px;
}


/* 主体商品 */
.main .content {
    margin-top: 10px;
    /* width: 978px; */
    /* height: 1870px; */
    position: relative;
    float: left;
}

#price1,
#price2 {
    font-size: 12px;
    color: #8c8c8c;
}
.aaa{
    display: block;
}
.main .content .content_bd {
    float: left;
    padding: 11px;
    width: 208px;
    height: 426px;
    position: relative;
    z-index: 1;
    margin-top: 10px;
    /* border: 1px solid #fff; */
    position: relative;
    z-index: 1;
    background-color: #fff;
}

.main .content .content_bd:hover {
    z-index: 2;
    box-shadow: 0 0 4px 0 rgb(85 85 85 / 40%);
}

/* 大图 */
.main .content .content_bd_img1 img {
    width: 210px;
    height: 210px;
}

.main .content .content_bd_img2 {
    width: 100%;
    height: 30px;
}

/* 小图 */
.main .content .curr {
    width: 26px;
    height: 26px;
    float: left;
    padding: 1px;
    border: 1px solid #d2d2d2;
    background-color: #fff;
    margin-left: 2px;
    cursor: pointer;
}

.main .content .curr:hover {
    border-color: red;
}

.main .content .content_bd .curr img {
    width: 26px;
    height: 26px;
}

/* 价格和已售 */
.main .content .content_bd .bd_lie {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
}

.main .content .bd_lie .bd_lie_price {
    color: red;
    font-size: 20px;
}

.main .content .bd_lie .bd_lie_num {
    font-size: 12px;
    color: #8c8c8c;
    margin-top: 5px;
}

.main .content_bd:hover .history_close {
    display: block;
}

.history_close {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 2px;
    right: 2px;
    display: none;
}
/* 商品名称 */
.bd_name {
    overflow: hidden;
    height: 33px;
    font-size: 12px;
}

.bd_name a {
    color: #555;
    /* font-size: 12px; */
    overflow: hidden;

}

.bd_name a:hover {
    color: red;
}

/* 商品源 */
.main .content .bd_store {
    font-size: 12px;
    color: #8c8c8c;
    margin-top: 3px;
}

.main .content .bd_store .store {
    cursor: pointer;
}

.icon-kefu1 {
    color: #fcc217;
    cursor: pointer;
}

.icon2 {
    color: #7b75f3;
}

.icon-kefu1:hover {
    color: red
}

/* 商品下面的对比收藏加入购物车 */
.main .content .bd_operate {
    margin-top: 35px;
}

.main .content .bd_operate a {
    display: block;
    float: left;
    cursor: pointer;
    font-size: 12px;
    height: 28px;
    line-height: 28px;
    margin-right: -1px;
    text-align: center;
    color: #555;
    border: 1px dashed #dbdbdb;
}

.main .content .bd_operate a:hover {
    border: 1px dashed red;
}

.main .content .bd_operate .comparison:hover {
    color: red;
}

.main .content .bd_operate .comparison {
    width: 52px;
}

.main .comparison:hover .oinput1+label {
    background: url(https://x.dscmall.cn/themes/ecmoban_dsc2017/images/check/checkbox_cur_12x12.png) 6px 9px no-repeat
}

.main .content .comparison:hover .oinput1:checked+label {
    background: url(https://x.dscmall.cn/themes/ecmoban_dsc2017/images/check/checked_12x12.png) 6px 9px no-repeat;

}

.main .content .bd_operate .collect {
    width: 56px;
}

.main .content .bd_operate .collect:hover {
    color: red;
}

.main .content .bd_operate .addsp {
    width: 90px;
    color: red;
}

.main .content .oinput1+label {
    cursor: pointer;
    display: inline-block;
    width: 54px;
    height: 30px;
    line-height: 30px;
    text-indent: 1em;
    /* padding-left: 15px; */
    background: url(https://x.dscmall.cn/themes/ecmoban_dsc2017/images/check/checkbox_12x12.png) 6px 9px no-repeat;
}

.main .content .bd_operate input:checked+label {
    background: url(https://x.dscmall.cn/themes/ecmoban_dsc2017/images/check/checked_12x12.png) 6px 9px no-repeat;
    color: red;
}

.main .content .bd_operate input {
    display: none;
}

.main .goods-list {
    width: 850px;
    height: 200px;
    padding: 150px 0 150px 350px;
    display: none;
}

.no_icon_two {
    width: 188px;
    height: 104px;
    display: block;
    float: left;
    background: url(https://x.dscmall.cn/themes/ecmoban_dsc2017/images/prompt/not-wait-icon.png) no-repeat;
}

.no_records .no_info_line {
    line-height: normal;
}

.no_records .no_info {
    float: left;
    margin-left: 25px;
    line-height: 104px;
    max-width: 500px;
}

.no_info_line h3 {
    margin-top: 8px;
    line-height: 25px;
}

.goods-list h3 {
    color: #8c8c8c;
    font-size: 16px;
    font-weight: bold;
    display: block;
}

.no_info_line .no_btn {
    display: block;
    margin-top: 15px;
}

.goods-list .btn {
    display: inline-block;
    width: 120px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 14px;
}

.sc-redBg-btn {
    background: #f42424;
    border-color: #f42424;
    color: #fff;
}



.pb {
    background-color: rgba(0, 0, 0, .1);
    padding: 8px;
    position: fixed;
    background-color: #ccc;
    display: none;
}

.pb .cboxContent {
    background-color: #fff;
}

.pb-hd {
    position: relative;
    padding: 0 16px;
    height: 31px;
    line-height: 31px;
    background: #f3f3f3;
}

.pb-hd .pb-x {
    cursor: pointer;
    display: block;
    position: absolute;
    z-index: 100000;
    top: 10px;
    right: 16px;
    overflow: hidden;
    width: 13px;
    height: 13px;
    background: url(https://x.dscmall.cn/themes/ecmoban_dsc2017/images/purebox/dialog.png) no-repeat;
    font-size: 0;
    text-indent: -99999px;
}

.pb-hd .pb-title {
    font-weight: normal;
    font-size: 14px;
    color: #666;
    font-family: "Microsoft YaHei";
}

.pb-bd {
    padding: 10px;
    overflow: auto;
    background: #fff;
    position: relative;
}

#pbDialog .pb-ct {
    position: relative;
}

.icon-box .warn-icon {
    background-position: -94px 2px;
}

.icon-box .m-icon {
    display: block;
    float: left;
    width: 48px;
    height: 48px;
    background: url(https://x.dscmall.cn/themes/ecmoban_dsc2017/images/purebox/icon48.png) -95px 0 no-repeat;
}

.tip-box h3.rem {
    line-height: 48px;
}

.tip-box h3 {
    font-family: 'microsoft yahei';
    font-size: 16px;
    line-height: 30px;
    padding: 0;
    font-weight: normal;
}

.ftx-04 {
    color: #f68a00;
}

#pb-mask {
    display: none;
}

.main .contrast {
    width: 1000px;
    height: 120px;
    border: 2px solid red;
    position: relative;
    position: fixed;
    bottom: 0;
    left: 50%;
    margin-left: -500px;
    background-color: #fff;
    z-index: 999;
    display: none;
}

.main .contrast .text {
    width: 12px;
    height: 66px;
    background-color: red;
    color: #fff;
    font-size: 14px;
    float: left;
    margin-top: -1px;
    padding: 27px 12px 28px;
}

.main .contrast .c_r {
    padding: 26px 0;
    float: left;
    width: 840px;
    height: 70px;
    position: relative;
    /* background-color: pink; */
    /* display: flex; */
}

.main .contrast .c_r .crow {
    padding: 0 16px 0 20px;
    float: left;
    border-right: 1px solid #bfbfbf;
}

.main .contrast .c_r h1 {
    width: 60px;
    height: 62px;
    text-align: center;
    float: left;
    color: #ccc;
    font-size: 36px;
    font-weight: normal;
    line-height: 62px;
}

.main .contrast .c_r .txt1 {
    width: 110px;
    height: 62px;
    text-align: center;
    line-height: 62px;
    color: #ccc;
    font-size: 12px;
    float: left;
}

.main .contrast .c_r_r {
    width: 120px;
    height: 62px;
    /* background-color: pink; */
    padding: 26px 0;
    float: right;
}

.main .contrast .txt2 {
    width: 54px;
    height: 30px;
    background-color: red;
    margin: 5px auto;
    font-size: 14px;
    color: #fff;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}

.main .contrast .txt3 {
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
    color: #438cde;
    cursor: pointer;
}

.main .contrast .yincang {
    font-size: 12px;
    color: #438cde;
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}

.ulist1 {
    position: absolute;
    top: 26px;
    left: 0;
    display: flex;
}

.list1 {
    width: 170px;
    height: 62px;
    padding: 0 16px 0 20px;
    float: left;
    /* background-color: pink; */
    background-color: #fff;
    /* margin-left: 20px; */
    border-right: 1px solid #bfbfbf;
}

.list1 .list1_img {
    float: left;
}

.list1 .list1_img img {
    width: 62px;
    height: 62px;
}

.list1 a {
    display: block;
    width: 108px;
    height: 36px;
    line-height: 18px;
    overflow: hidden;
    color: #555;
    font-size: 12px;
    float: left;
}

.list1 .list1_price {
    width: 45px;
    float: left;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

.list1 .rem {
    float: right;
    font-size: 12px;
    color: #3a78bf;
    margin-top: 5px;
}